//引入axios封装
import request from '@/utils/request'
//获取群聊任务详细
export function getMember(params) {
  return request({
    url: '/Member/get/Member',
    method: 'post',
    data:params
  })
}

//删除群聊任务
export function deleteMember(id) {
  return request({
    url: `/Member/delete/Member/${id}`,
    method: 'post',
  })
}

//新增群聊任务
export function insertMember(params) {
  return request({
    url: `/Member/insert/Member`,
    method: 'post',
    data:params
  })
}

//修改群聊任务
export function updateMember(params) {
  return request({
    url: `/Member/update/Member`,
    method: 'post',
    data:params
  })
}
